#include <iostream>
#include <vector>

using namespace ::std;
using std::vector;

int main() {
  vector<int> v1(10, 3);
  for (auto it = v1.begin(); it != v1.end(); ++it) {
    *it = *it * 2;
  }
  for (auto num : v1) cout << num << " ";
}